\n"; echo "\n"; echo "  $board_title\n"; echo " >> ¸ñ·Ï   \n"; echo "\n"; echo "\n"; } else { echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "
\n"; } //boardÅ×À̺í·ÎºÎÅÍ Äڵ忡 ¸Â´Â ¸ñ·ÏÀ» ºÒ·¯¿È $sql= "select * from $board where code = '$view_code' and add_no=0 and dep_no='AAAAAAA' and main_no>0 order by main_no desc, dep_no desc"; $result = mysql_query($sql); //Àüü ÀÚ·áÀÇ °³¼ö $count = mysql_num_rows($result); //ÇÑÈ­¸é¿¡ Ãâ·ÂÇÒ ÁÙ ¼ö $rows = $a_rows; $line = 0; echo "\n"; while($row = mysql_fetch_array($result)) { //¹øÈ£ $no = $count-$line-2; //¸ñ·Ï±ÛÀÇ ±æÀÌ ÀÚ¸£±â. include("../../inc_file/list/cut.php"); echo "\n"; $title = " $title\n"; echo "\n"; echo "\n"; //Ãâ·ÂµÈ °Ô½Ã¹°ÀÇ ¼ö¿Í ÇÑÈ­¸é¿¡ º¸¿©ÁÙ ÁÙ¼ö¿Í ºñ±³ if(++$line==$rows) break; } echo "
$title
\n"; } ?>